﻿namespace FiftyOne.Foundation.Mobile.Detection.Wurfl.Handlers
{
    using FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers;
    using FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.EditDistance;
    using System;

    internal abstract class EditDistanceHandler : Handler
    {
        protected EditDistanceHandler()
        {
        }

        protected internal override FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.Results Match(string userAgent)
        {
            return FiftyOne.Foundation.Mobile.Detection.Wurfl.Matchers.EditDistance.Matcher.Match(userAgent, this);
        }
    }
}

